import React, { Component } from 'react';
import tx from '@a/images/mine/tx1.png'

import {
  StyledChat
} from '../StyledChat'
class Chat extends Component {
  render() {
    return (
      <StyledChat>
          <div>
            <ul>
              <li
              onClick={this.props.onChageClick}
              >
                <div>
                  <div className='im'><img src={`${tx}`} alt=""/></div>
                  <div className='text'>
                  <h1>小王爸爸</h1>
                  <p>好，那麻烦婷婷老师了</p>
                  </div>
                </div>
                <p>14：34</p>
              </li>
              <li>
                <div>
                  <div className='im'><img src={`${tx}`} alt=""/></div>
                  <div className='text'>
                  <h1>一年级家长群</h1>
                  <p>孙老师，今天的家庭作业已经提交了</p>
                  </div>
                </div>
                <p>14：34</p>
              </li>
            </ul>
          </div>
        </StyledChat>
    );
  }
}
export default Chat
